package com.md.base.db;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author 刘骄阳
 * 2025-06-14 2:41
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class BetweenExpressionParam extends ExpressionParamBase {
  /**
   * 值
   */
  private Object value1;

  public String parse() {
    return " " + getExpression() + " " + getColumn() + " BETWEEN " + parseString(getValue()) + " AND " +
      parseString(getValue1());
  }
}
